package com.yongcheon.sms_manager.activities;

import android.app.Activity;
import android.app.NotificationManager;
import android.content.Context;
import android.os.Bundle;

import com.yongcheon.sms_manager.receiver.sms.SmsReceiver;

/**
 * Created by yongcheon on 2014-12-16.
 */
public class CancelNotifationActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        NotificationManager myNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
        myNotificationManager.cancel(SmsReceiver.NOTI_ID);
        this.finish();
    }
}